from random import randint


N = int(input())
k = 0
x = int(randint(-100,100))
y = int(randint(-100,100))
for i in range(N):
    if (x>=-7 and x<=5) and (y<=5 and y>=-8):
        k+=1
print("количество выстрелов",N)
print("количество попаданий",k)
